package com.zengjianjun.es.demo.service;

import com.zengjianjun.es.demo.entity.EsGaidEntity;
import com.zengjianjun.es.demo.param.EsGaidParam;

import java.util.List;

/**
 * @author zengjianjun
 */
public interface EsGaidService {
    void save(EsGaidEntity entity);

    void saveAll(List<EsGaidEntity> entityList);

    long countByConditions(EsGaidParam param);

    List<EsGaidEntity> findList(EsGaidParam param);

    void updateCatAndSubCat(EsGaidParam param, String cat, String subCat);
}
